package mdm.com.web.entity;


import java.util.*;

import mdm.com.web.common.AbstractBean;

public class User extends AbstractBean {
    private Integer cUserId;

    private Integer cOperatorId;

    private String cUsername;

    private String cOperatorUser;

    private String cPassword;

    private String oldPassword;

    private String cNickname;

    private String cSex;

    private Integer cAge;

    private String cAvatar;

    private Integer cDepartmentId;

    private Integer cRoleId;

    private String createTime;

    private String updateTime;

    private String remark;

    private Short state;

    private Set<Integer> cPermissionIds;

    private String startDate;

    private String endDate;

    private Integer cAgeStart;

    private Integer cAgeEnd;

    private String cDepartmentName;

    private String cRoleName;

    private List<Permission> cPermissions;

    private Integer offset;

    private Integer limit;
    
    private Integer user_type;
    
    private Integer zbukrs;
    
    
    

    public Integer getZbukrs() {
        return zbukrs;
    }

    public void setZbukrs(Integer zbukrs) {
        this.zbukrs = zbukrs;
    }

    public Integer getUser_type() {
        return user_type;
    }

    public void setUser_type(Integer user_type) {
        this.user_type = user_type;
    }

    public Integer getOffset() {
        return offset;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getcOperatorId() {
        return cOperatorId;
    }

    public void setcOperatorId(Integer cOperatorId) {
        this.cOperatorId = cOperatorId;
    }

    public String getcOperatorUser() {
        return cOperatorUser;
    }

    public void setcOperatorUser(String cOperatorUser) {
        this.cOperatorUser = cOperatorUser;
    }

    public List<Permission> getcPermissions() {
        return cPermissions;
    }

    public void setcPermissions(List<Permission> cPermissions) {
        this.cPermissions = cPermissions;
    }

    public String getcDepartmentName() {
        return cDepartmentName;
    }

    public void setcDepartmentName(String cDepartmentName) {
        this.cDepartmentName = cDepartmentName;
    }

    public String getcRoleName() {
        return cRoleName;
    }

    public void setcRoleName(String cRoleName) {
        this.cRoleName = cRoleName;
    }

    public String getOldPassword() {
        return oldPassword;
    }

    public void setOldPassword(String oldPassword) {
        this.oldPassword = oldPassword;
    }

    public Integer getcAgeStart() {
        return cAgeStart;
    }

    public void setcAgeStart(Integer cAgeStart) {
        this.cAgeStart = cAgeStart;
    }

    public Integer getcAgeEnd() {
        return cAgeEnd;
    }

    public void setcAgeEnd(Integer cAgeEnd) {
        this.cAgeEnd = cAgeEnd;
    }

    public String getStartDate() {
        return startDate;
    }

    public void setStartDate(String startDate) {
        this.startDate = startDate;
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    public Set<Integer> getcPermissionIds() {
        if (cPermissionIds == null) {
            cPermissionIds = new HashSet<>();
        }
        return cPermissionIds;
    }

    public void setcPermissionIds(Set<Integer> cPermissionIds) {
        this.cPermissionIds = cPermissionIds;
    }

    public Integer getcUserId() {
        return cUserId;
    }

    public void setcUserId(Integer cUserId) {
        this.cUserId = cUserId;
    }

    public String getcUsername() {
        return cUsername;
    }

    public void setcUsername(String cUsername) {
        this.cUsername = cUsername == null ? null : cUsername.trim();
    }

    public String getcPassword() {
        return cPassword;
    }

    public void setcPassword(String cPassword) {
        this.cPassword = cPassword == null ? null : cPassword.trim();
    }

    public String getcNickname() {
        return cNickname;
    }

    public void setcNickname(String cNickname) {
        this.cNickname = cNickname == null ? null : cNickname.trim();
    }

    public String getcSex() {
        return cSex;
    }

    public void setcSex(String cSex) {
        this.cSex = cSex == null ? null : cSex.trim();
    }

    public Integer getcAge() {
        return cAge;
    }

    public void setcAge(Integer cAge) {
        this.cAge = cAge;
    }

    public String getcAvatar() {
        return cAvatar;
    }

    public void setcAvatar(String cAvatar) {
        this.cAvatar = cAvatar == null ? null : cAvatar.trim();
    }

    public Integer getcDepartmentId() {
        return cDepartmentId;
    }

    public void setcDepartmentId(Integer cDepartmentId) {
        this.cDepartmentId = cDepartmentId;
    }

    public Integer getcRoleId() {
        return cRoleId;
    }

    public void setcRoleId(Integer cRoleId) {
        this.cRoleId = cRoleId;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Short getState() {
        return state;
    }

    public void setState(Short state) {
        this.state = state;
    }
}